<#assign tit><#if category??><@value type="workflowCategory" key="${category!}"/></#if><#if stat=1>初审<#elseif stat=2>复审<#elseif stat=3>终审<#else>审批</#if></#assign>
<@page.html title=tit>
<script type="text/javascript" src="${_appPath!}/js/cal.js"></script>
  <div class="search">
    <form id="fm_query" action="_list">
      <input type="hidden" name="category" value="${category!}">
      <dl>
        <dt>门店</dt>
        <dd><script>shopsel('shopCode');</script></dd>
        <dt>类型</dt>
        <dd><select name="typeId"><option value="">全部</option><#if workflowType??><#list workflowType as t><#if (!category?? && t.id!='35') || (category?? && category=t.prop)><option value="${t.id}">${t.id}-${t.name}</option></#if></#list></#if></select></dd>
        <dt>合同号/用户名</dt>
        <dd><input type="text" name="name" value="" /></dd>
      </dl>
      <dl>
        <dt>时间类型</dt>
        <dd><select name="dateType">
          <option value="1">提交时间</option>
          <option value="2">初审时间</option>
          <option value="3">终审时间</option>
        </select></dd>
        <dt>时间范围</dt>
        <dd><input type="text" class="date" name="dateFrom" value="" onfocus="cal(this);" />
          ~ <input type="text" class="date" name="dateTo" value="" onfocus="cal(this);" /></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">query();</script>
</@page.html>